package com.cetccloud.cimp.adapter;

import com.cetccloud.cimp.adapter.protocol.ProtocolExecutor;

import java.io.IOException;


public class NettyServerStart {
    public static void main(String [] args) throws IOException, InterruptedException {

        //加载自定义类
//        ProtocolExecutor
////                .getInstance("com.cetccloud.cimp.adapter.protocol.NettyServer")
//                .getDefaultInstance(null, serverType)
//                .start(3333);


//        ProtocolExecutor.getDefaultInstance();

//        Thread.sleep(5000);
//        ProtocolExecutor.getDefaultInstance().quit();
    }
}
